package com.pyb.common.exception;

/**
 * BizException
 *
 * @author chuchen.zhang
 * @date 17-2-25 下午11:46
 */
public class BizException extends RuntimeException {

	private String errorMsg;

	public BizException(Throwable cause, String errorMsg) {
		super(cause);
		this.errorMsg = errorMsg;
	}

	public BizException(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
}
